<!DOCTYPE html>
<html lang="en-US">
    <head>
        <title>Test::File::ShareDir - Create a Fake ShareDir for your modules for testing. - metacpan.org</title>
        <link rel="preload" as="fetch" href="https://metacpan.org/account/login_status" crossorigin="anonymous" />
        <link href="https://metacpan.org/_assets/b8ccceeed47a0652049703d99326a9cea4933443.css" rel="stylesheet" type="text/css">
        <script src="https://metacpan.org/_assets/6bfedafe2d7caa915b7d84f61b45936818e3242e.js" type="text/javascript" defer></script>
        <link rel="alternate" type="application/rss+xml" title="Recent CPAN Uploads of Test-File-ShareDir - MetaCPAN" href="https://metacpan.org/dist/Test-File-ShareDir/releases.rss" />
        <link rel="canonical" href="./Test::File::ShareDir.html" />
        <meta name="description" content="Create a Fake ShareDir for your modules for testing." />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
        <link rel="shortcut icon" href="https://metacpan.org/static/icons/favicon.ico">
        <link rel="apple-touch-icon" sizes="152x152" href="https://metacpan.org/static/icons/apple-touch-icon.png">
        <link rel="search" href="https://metacpan.org/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN">
        <script>
          (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
          (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
          })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

          (function(skey, ga_id){
            ga('create', ga_id, {
              siteSpeedSampleRate : 100,
              storage             : 'none',
              clientId            : localStorage.getItem(skey)
            });
            ga(function(tracker) {
              localStorage.setItem(skey, tracker.get('clientId'));
            });
            ga('send', 'pageview');
          })('ga:clientId', 'UA-27829474-1');
        </script>
<meta name="twitter:card"        content="summary" />
<meta name="twitter:url"         content="https://metacpan.org/pod/Test::File::ShareDir" />
<meta name="twitter:title"       content="Test::File::ShareDir" />
<meta name="twitter:description" content="Create a Fake ShareDir for your modules for testing." />
<meta name="twitter:site"        content="metacpan" />
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="header-logo-large hidden-xs">
              <a href="https://metacpan.org/" tabindex="0">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#logo" />
                </svg>
              </a>
            </div>
            <div class="header-logo-icon visible-xs">
              <a href="https://metacpan.org/">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#dots" />
                </svg>
              </a>
            </div>
            <ul class="nav navbar-nav menu-items hidden-xs hidden-sm">
              <li><a href="https://metacpan.org/about">About</a></li>
              <li><a href="https://metacpan.org/about/sponsors">Sponsor</a></li>
              <li><a href="https://grep.metacpan.org/">grep::cpan</a></li>
              <li><a href="https://metacpan.org/recent">Recent</a></li>
              <li><a href="https://metacpan.org/about/faq">FAQ</a></li>
              <li><a href="https://metacpan.org/tools">Tools</a></li>
              <li><a href="https://fastapi.metacpan.org/">API</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <button type="button" class="searchbar-btn visible-xs visible-sm">
                    <i class="fa fa-search button-fa-icon"></i>
                </button>
                <form action="https://metacpan.org/search" class="searchbar-form visible-md visible-lg search-form form-horizontal">
                   <input type="hidden" name="size" id="metacpan_search-size" value="20">
                  <div class="form-group">
                      <div class="search-group">
                        <i class="fa fa-search"></i>
                        <input type="text" name="q" placeholder="Search the CPAN" size="41" autocorrect="off" autocapitalize="off" spellcheck="false" id="metacpan_search-input" class="form-control" value="">
                      </div>
                  </div>
                </form>
                    <li class="icon-slidepanel visible-xs visible-sm">
                      <button data-toggle="slidepanel" data-target=".slidepanel">
                        <span class="button-fa-icon">
                          <i class="fa fa-bars slidepanel-open"></i>
                          <i class="fa fa-times slidepanel-close"></i>
                        </span>
                      </button>
                    </li>
                <form action="https://metacpan.org/account/logout" method="POST" id="metacpan-logout"></form>
                <li class="dropdown logged_in" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon logged-in-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li><a href="https://metacpan.org/account/identities">Identities</a></li>
                        <li><a href="https://metacpan.org/account/profile">Profile</a></li>
                        <li><a href="https://metacpan.org/account/favorite/list">Favorites</a></li>
                        <li>
                            <a href="./Test::File::ShareDir.html#" type="button" onclick="$('#metacpan-logout').submit(); return false">
                              Logout
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_out" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="https://metacpan.org/login/github">
                                <i class="fab fa-github fa-fw"></i>
                                GitHub
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/twitter">
                                <i class="fab fa-twitter fa-fw"></i>
                                Twitter
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/google">
                                <i class="fab fa-google fa-fw"></i>
                                Google
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_placeholder">
                    <button>
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                    </button>
                </li>
            </ul>
        </nav>
        <div class="page-content ">
          <!--
          <div class="top-notify-banner">
            <i class="fas fa-info-circle"></i>
          </div>
          -->
          <nav class="sidebar">
            <div class="slidepanel">
              <ul class="nav-list ">
    <li class="nav-header no-margin-top">
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The date that this version of Test-File-ShareDir was released.">
      <span class="relatize">01 Mar 2017 11:39:07 UTC</span>
    </li>
  <li>
    Distribution: <a href="https://metacpan.org/dist/Test-File-ShareDir">Test-File-ShareDir</a>
  </li>
  <li>
    Module version: 1.001002
  </li>
  <li>
    <a data-keyboard-shortcut="g s" href="https://metacpan.org/dist/Test-File-ShareDir/source/lib/Test/File/ShareDir.pm">Source</a>
    (<a href="https://metacpan.org/dist/Test-File-ShareDir/source/lib/Test/File/ShareDir.pm?raw=1">raw</a>)
  </li>
  <li>
    <a data-keyboard-shortcut="g b" href="https://metacpan.org/dist/Test-File-ShareDir/source/lib/Test/File">Browse</a>
    (<a href="https://metacpan.org/dist/Test-File-ShareDir/source/lib/Test/File?raw=1">raw</a>)
  </li>
    <li>
      <a data-keyboard-shortcut="g c" href="https://metacpan.org/dist/Test-File-ShareDir/changes">Changes</a>
    </li>
    <li>
      <a rel="noopener nofollow" class="nopopup" href="https://github.com/kentnl/Test-File-ShareDir">Homepage</a>
    </li>
    <li>
      <a class="nopopup" href="https://metacpan.org/dist/Test-File-ShareDir/contribute">How to Contribute</a>
    </li>
    <li>
        <a rel="noopener nofollow" data-keyboard-shortcut="g r" href="https://github.com/kentnl/Test-File-ShareDir">Repository</a>
    </li>
    <li>
      <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="https://github.com/kentnl/Test-File-ShareDir/issues">Issues</a>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=Test-File-ShareDir+1.001002" title="Matrix">Testers</a>
        <span title="(pass / fail / na)">(<a rel="noopener nofollow" href="https://www.cpantesters.org/distro/T/Test-File-ShareDir.html?oncpan=1&amp;distmat=1&amp;version=1.001002&amp;grade=2" style="color: #090">1770</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/T/Test-File-ShareDir.html?oncpan=1&amp;distmat=1&amp;version=1.001002&amp;grade=3" style="color: #900">0</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/T/Test-File-ShareDir.html?oncpan=1&amp;distmat=1&amp;version=1.001002&amp;grade=4">1</a>)</span>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/KENTNL/Test-File-ShareDir-1.001002">Kwalitee</a>
    </li>
    <li>
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on Test-File-ShareDir who have released something to CPAN in the last 2 years (i.e. the # people likely able to release critical fixes in a timely manner)">
      Bus factor: 1
      </div>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpancover.com/latest/Test-File-ShareDir-1.001002/index.html">89.71% Coverage </a>
    </li>
    <li>
      License: perl_5
    </li>
    <li>
      Perl: v5.6.0
    </li>
    <li class="nav-header">Activity</li>
    <li>
<div class="activity-graph">
    <img src="https://metacpan.org/dist/Test-File-ShareDir/activity.svg?res=month" />
    <div class="comment">24 month</div>
</div>
    </li>
    <li class="nav-header">Tools</li>
    <li>
      <a itemprop="downloadUrl" href="https://cpan.metacpan.org/authors/id/K/KE/KENTNL/Test-File-ShareDir-1.001002.tar.gz">
      Download (<span itemprop="fileSize">63.93KB</span>)</a>
    </li>
    <li>
      <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FKENTNL%2FTest-File-ShareDir-1.001002%2Flib%2FTest%2FFile%2FShareDir.pm">
        MetaCPAN Explorer
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Test-File-ShareDir/permissions">
        Permissions
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Test-File-ShareDir/releases.rss">
        Subscribe to distribution
      </a>
    </li>
    <li>
      <button class="btn btn-link" data-toggle="modal" data-target="#metacpan_install-instructions-dialog">
        Install Instructions
      </button>
    </li>
    <li>
      <form action="https://metacpan.org/search">
        <input type="hidden" name="q" value="dist:Test-File-ShareDir">
        <input type="search" name="q" placeholder="Search distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
      </form>
    </li>
    <li>
      <form action="https://grep.metacpan.org/search">
        <input type="hidden" name="qd" value="Test-File-ShareDir">
        <input type="hidden" name="source" value="metacpan">
        <input type="search" name="q" placeholder="grep distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
     </form>
    </li>
    <li class="version-jump">
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/Test/File/ShareDir.pm&#39;" class="form-control tool-bar-form">
  <option disabled selected>Jump to version</option>
<option
  disabled
  value="KENTNL/Test-File-ShareDir-1.001002"
>1.001002
  (KENTNL on 2017-03-01)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.001001"
>1.001001
  (KENTNL on 2015-03-01)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.001000"
>1.001000
  (KENTNL on 2015-02-28)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000005"
>1.000005
  (KENTNL on 2014-08-16)</option>
<optgroup label="BackPAN">'
<option
  
  value="KENTNL/Test-File-ShareDir-1.000004"
>1.000004
  (KENTNL on 2014-07-22)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000003"
>1.000003
  (KENTNL on 2014-07-22)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000002"
>1.000002
  (KENTNL on 2014-07-19)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000001"
>1.000001
  (KENTNL on 2014-06-07)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000000"
>1.000000
  (KENTNL on 2014-01-30)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.4.1"
>0.4.1
  (KENTNL on 2013-11-21)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.4.0"
>0.4.0
  (KENTNL on 2013-11-21)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.3.3"
>0.3.3
  (KENTNL on 2013-04-03)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.3.2"
>0.3.2
  (KENTNL on 2013-04-03)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.3.1"
>0.3.1
  (KENTNL on 2011-10-28)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.3.0"
>0.3.0
  (KENTNL on 2011-05-05)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.2.0"
>0.2.0
  (KENTNL on 2011-04-07)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.1.2"
>0.1.2
  (KENTNL on 2011-04-07)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.1.1"
>0.1.1
  (KENTNL on 2011-03-10)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.1.0"
>0.1.0
  (KENTNL on 2011-02-21)</option>
</optgroup>
</select>
    </li>
    <li class="version-diff">
<select onchange="document.location.href='/release/KENTNL/Test-File-ShareDir-1.001002/diff/' + encodeURIComponent(this.value) + '/lib/Test/File/ShareDir.pm'
" class="form-control tool-bar-form">
  <option disabled selected>Diff with version</option>
<option
  disabled
  value="KENTNL/Test-File-ShareDir-1.001002"
>1.001002
  (KENTNL on 2017-03-01)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.001001"
>1.001001
  (KENTNL on 2015-03-01)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.001000"
>1.001000
  (KENTNL on 2015-02-28)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000005"
>1.000005
  (KENTNL on 2014-08-16)</option>
<optgroup label="BackPAN">'
<option
  
  value="KENTNL/Test-File-ShareDir-1.000004"
>1.000004
  (KENTNL on 2014-07-22)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000003"
>1.000003
  (KENTNL on 2014-07-22)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000002"
>1.000002
  (KENTNL on 2014-07-19)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000001"
>1.000001
  (KENTNL on 2014-06-07)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000000"
>1.000000
  (KENTNL on 2014-01-30)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.4.1"
>0.4.1
  (KENTNL on 2013-11-21)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.4.0"
>0.4.0
  (KENTNL on 2013-11-21)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.3.3"
>0.3.3
  (KENTNL on 2013-04-03)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.3.2"
>0.3.2
  (KENTNL on 2013-04-03)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.3.1"
>0.3.1
  (KENTNL on 2011-10-28)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.3.0"
>0.3.0
  (KENTNL on 2011-05-05)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.2.0"
>0.2.0
  (KENTNL on 2011-04-07)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.1.2"
>0.1.2
  (KENTNL on 2011-04-07)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.1.1"
>0.1.1
  (KENTNL on 2011-03-10)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.1.0"
>0.1.0
  (KENTNL on 2011-02-21)</option>
</optgroup>
</select>
    </li>

    <li>
<ul class="dependencies">
  <li class="nav-header">Dependencies</li>
  <li><a href="https://metacpan.org/pod/Carp" title="Carp" class="ellipsis">Carp</a></li>
  <li><a href="./Class::Tiny.html" title="Class::Tiny" class="ellipsis">Class::Tiny</a></li>
  <li><a href="https://metacpan.org/pod/Exporter" title="Exporter" class="ellipsis">Exporter</a></li>
  <li><a href="./File::Copy::Recursive.html" title="File::Copy::Recursive" class="ellipsis">File::Copy::Recursive</a></li>
  <li><a href="./File::ShareDir.html" title="File::ShareDir" class="ellipsis">File::ShareDir</a></li>
  <li><a href="./Path::Tiny.html" title="Path::Tiny" class="ellipsis">Path::Tiny</a></li>
  <li><a href="https://metacpan.org/pod/Scope::Guard" title="Scope::Guard" class="ellipsis">Scope::Guard</a></li>
  <li><a href="https://metacpan.org/pod/parent" title="parent" class="ellipsis">parent</a></li>
  <li><a href="https://metacpan.org/pod/strict" title="strict" class="ellipsis">strict</a></li>
  <li><a href="https://metacpan.org/pod/warnings" title="warnings" class="ellipsis">warnings</a></li>
  <li>
    <hr>
  </li>
  <li>
    <a href="https://metacpan.org/module/Test::File::ShareDir/requires">Reverse dependencies</a>
  </li>
  <li>
    <a href="http://deps.cpantesters.org/?module=Test%3A%3AFile%3A%3AShareDir">CPAN Testers List</a>
  </li>
  <li>
    <a href="https://cpandeps.grinnz.com/?dist=Test-File-ShareDir">Dependency graph</a>
  </li>
</ul>
    </li>
    <li class="nav-header">Permalinks</li>
    <li>
      <a href="https://metacpan.org/release/KENTNL/Test-File-ShareDir-1.001002/view/lib/Test/File/ShareDir.pm">This version</a>
    </li>
    <li>
      <a href="./Test::File::ShareDir.html">Latest version</a>
    </li>
    <li>
<div class="plussers">
<div class="nav-header">++ed by:</div>
<div>
<a class="display-all" href="https://metacpan.org/author/DAGOLDEN"><img src="https://www.gravatar.com/avatar/bb755c989fcb9897f28a2c6e00df61e2?d=identicon&amp;s=20" title="DAGOLDEN" alt="DAGOLDEN"></a>
<a class="display-all" href="https://metacpan.org/author/DMOL"><img src="https://www.gravatar.com/avatar/78b28a931707c0fa696996adc7702db9?d=identicon&amp;s=20" title="DMOL" alt="DMOL"></a>
<a class="display-all" href="https://metacpan.org/author/STEVIED"><img src="https://www.gravatar.com/avatar/d05810eb5aa00f693481dcbfd8cc0317?d=identicon&amp;s=20" title="STEVIED" alt="STEVIED"></a>
<a class="display-all" href="https://metacpan.org/author/ETHER"><img src="https://www.gravatar.com/avatar/bdc5cd06679e732e262f6c1b450a0237?d=identicon&amp;s=20" title="ETHER" alt="ETHER"></a>
</div>
<!-- Display counts of plussers-->
<div>
    <a href="https://metacpan.org/dist/Test-File-ShareDir/plussers">4 PAUSE users</a>
</div>
<div>
    4 non-PAUSE users
</div>
</div>
    </li>
    <li>
    </li>
              </ul>
            </div>
          </nav>
          <div class="content-navigation">
<div class="breadcrumbs">
  <span>
    <a data-keyboard-shortcut="g a" rel="author" href="https://metacpan.org/author/KENTNL" class="author-name">Kent Fredric (PAUSE Custodial Account)</a>
  </span>
  <span>&nbsp;/&nbsp;</span>
  <div class="release dist-release status-latest maturity-released">
    <span class="dropdown"><b class="caret"></b></span>
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/Test/File/ShareDir.pm&#39;" class="">
<option
  selected
  value="KENTNL/Test-File-ShareDir-1.001002"
>1.001002
  (KENTNL on 2017-03-01)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.001001"
>1.001001
  (KENTNL on 2015-03-01)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.001000"
>1.001000
  (KENTNL on 2015-02-28)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000005"
>1.000005
  (KENTNL on 2014-08-16)</option>
<optgroup label="BackPAN">'
<option
  
  value="KENTNL/Test-File-ShareDir-1.000004"
>1.000004
  (KENTNL on 2014-07-22)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000003"
>1.000003
  (KENTNL on 2014-07-22)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000002"
>1.000002
  (KENTNL on 2014-07-19)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000001"
>1.000001
  (KENTNL on 2014-06-07)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-1.000000"
>1.000000
  (KENTNL on 2014-01-30)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.4.1"
>0.4.1
  (KENTNL on 2013-11-21)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.4.0"
>0.4.0
  (KENTNL on 2013-11-21)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.3.3"
>0.3.3
  (KENTNL on 2013-04-03)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.3.2"
>0.3.2
  (KENTNL on 2013-04-03)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.3.1"
>0.3.1
  (KENTNL on 2011-10-28)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.3.0"
>0.3.0
  (KENTNL on 2011-05-05)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.2.0"
>0.2.0
  (KENTNL on 2011-04-07)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.1.2"
>0.1.2
  (KENTNL on 2011-04-07)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.1.1"
>0.1.1
  (KENTNL on 2011-03-10)</option>
<option
  
  value="KENTNL/Test-File-ShareDir-0.1.0"
>0.1.0
  (KENTNL on 2011-02-21)</option>
</optgroup>
</select>
    <a data-keyboard-shortcut="g d" class="release-name" href="https://metacpan.org/dist/Test-File-ShareDir">Test-File-ShareDir-1.001002</a>
  </div>
<span class="river-gauge-gauge">
  <svg width="24px"
       height="15px"
       version="1.1"
       xmlns="http://www.w3.org/2000/svg"
       xmlns:xlink="http://www.w3.org/1999/xlink">

    <g>
      <title>        River stage four &#10;
          • 53 direct dependents &#10;          • 3822 total dependents
      </title>

      <rect x="0"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="5"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="10"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="15"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="20"  y="0" width="4" height="15" fill="#e4e2e2" />
    </g>
  </svg>

</span>
<div id="Test-File-ShareDir-fav" class="logged_in">
<form action="https://metacpan.org/account/favorite/add" style="display: inline" onsubmit="return favDistribution(this)">
    <input type="hidden" name="remove" value="0">
    <input type="hidden" name="release" value="Test-File-ShareDir-1.001002">
    <input type="hidden" name="author" value="KENTNL">
    <input type="hidden" name="distribution" value="Test-File-ShareDir">
    <button type="submit" class="favorite highlight"><span>8</span> ++</button>
</form>
</div>
<div class="logged_out">
<a href="./Test::File::ShareDir.html" onclick="alert('Please sign in to add favorites'); return false" class="favorite highlight">
<span>8</span> ++</a>
</div>
   / <span>Test::File::ShareDir</span>
</div>
          </div>
          <main class="content">


<nav class="toc">
  <div class="toc-header"><strong>Contents</strong></div>
<ul>
  <li><a href="./Test::File::ShareDir.html#NAME">NAME</a></li>
  <li><a href="./Test::File::ShareDir.html#VERSION">VERSION</a></li>
  <li><a href="./Test::File::ShareDir.html#SYNOPSIS">SYNOPSIS</a></li>
  <li><a href="./Test::File::ShareDir.html#DESCRIPTION">DESCRIPTION</a></li>
  <li><a href="./Test::File::ShareDir.html#SIMPLE-INTERFACE">SIMPLE INTERFACE</a>
    <ul>
      <li><a href="./Test::File::ShareDir.html#Simple-Exporter-Interfaces">Simple Exporter Interfaces</a>
        <ul>
          <li><a href="./Test::File::ShareDir.html#Test::File::ShareDir::Dist">Test::File::ShareDir::Dist</a></li>
          <li><a href="./Test::File::ShareDir.html#Test::File::ShareDir::Module">Test::File::ShareDir::Module</a></li>
        </ul>
      </li>
      <li><a href="./Test::File::ShareDir.html#Simple-Object-Oriented-Interfaces">Simple Object Oriented Interfaces</a>
        <ul>
          <li><a href="./Test::File::ShareDir.html#Test::File::ShareDir::Object::Dist">Test::File::ShareDir::Object::Dist</a></li>
          <li><a href="./Test::File::ShareDir.html#Test::File::ShareDir::Object::Module">Test::File::ShareDir::Object::Module</a></li>
        </ul>
      </li>
    </ul>
  </li>
  <li><a href="./Test::File::ShareDir.html#SCOPE-LIMITED-UTILITIES">SCOPE LIMITED UTILITIES</a></li>
  <li><a href="./Test::File::ShareDir.html#IMPORTING">IMPORTING</a>
    <ul>
      <li><a href="./Test::File::ShareDir.html#IMPORT-OPTIONS">IMPORT OPTIONS</a>
        <ul>
          <li><a href="./Test::File::ShareDir.html#-root">-root</a></li>
          <li><a href="./Test::File::ShareDir.html#-share">-share</a>
            <ul>
              <li><a href="./Test::File::ShareDir.html#-module">-module</a></li>
              <li><a href="./Test::File::ShareDir.html#-dist">-dist</a></li>
            </ul>
          </li>
        </ul>
      </li>
    </ul>
  </li>
  <li><a href="./Test::File::ShareDir.html#EXPORTABLE-FUNCTIONS">EXPORTABLE FUNCTIONS</a>
    <ul>
      <li><a href="./Test::File::ShareDir.html#with_dist_dir">with_dist_dir</a></li>
      <li><a href="./Test::File::ShareDir.html#with_module_dir">with_module_dir</a></li>
    </ul>
  </li>
  <li><a href="./Test::File::ShareDir.html#THANKS">THANKS</a></li>
  <li><a href="./Test::File::ShareDir.html#AUTHOR">AUTHOR</a></li>
  <li><a href="./Test::File::ShareDir.html#COPYRIGHT-AND-LICENSE">COPYRIGHT AND LICENSE</a></li>
</ul></nav>
<div class="pod anchors">
<h1 id="NAME">NAME</h1>

<p>Test::File::ShareDir - Create a Fake ShareDir for your modules for testing.</p>

<h1 id="VERSION">VERSION</h1>

<p>version 1.001002</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<pre><code>    use Test::More;

    # use FindBin; optional

    use Test::File::ShareDir
        # -root =&gt; &quot;$FindBin::Bin/../&quot; # optional,
        -share =&gt; {
            -module =&gt; { &#39;My::Module&#39; =&gt; &#39;share/MyModule&#39; }
            -dist   =&gt; { &#39;My-Dist&#39;    =&gt; &#39;share/somefolder&#39; }
        };

    use My::Module;

    use File::ShareDir qw( module_dir dist_dir );

    module_dir( &#39;My::Module&#39; ) # dir with files from $dist/share/MyModule

    dist_dir( &#39;My-Dist&#39; ) # dir with files from $dist/share/somefolder</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p><code>Test::File::ShareDir</code> is some low level plumbing to enable a distribution to perform tests while consuming its own <code>share</code> directories in a manner similar to how they will be once installed.</p>

<p>This allows <code>File::ShareDir</code> to see the <i>latest</i> version of content instead of simply whatever is installed on whichever target system you happen to be testing on.</p>

<p><b>Note:</b> This module only has support for creating &#39;new&#39; style share dirs and are NOT compatible with old File::ShareDirs.</p>

<p>For this reason, unless you have File::ShareDir 1.00 or later installed, this module will not be usable by you.</p>

<h1 id="SIMPLE-INTERFACE"><a id="SIMPLE"></a>SIMPLE INTERFACE</h1>

<p>Starting with version <code>0.4.0</code>, there are a few extra interfaces you can use.</p>

<p>These will probably be more useful, and easier to grok, because they don&#39;t have a layer of indirection in order to simultaneously support both <code>Module</code> and <code>Dist</code> <code>ShareDir</code>&#39;s.</p>

<h2 id="Simple-Exporter-Interfaces"><a id="Simple"></a>Simple Exporter Interfaces</h2>

<h3 id="Test::File::ShareDir::Dist"><a id="Test"></a><code>Test::File::ShareDir::Dist</code></h3>

<p><a href="https://metacpan.org/pod/Test::File::ShareDir::Dist"><code>Test::File::ShareDir::Dist</code></a> provides a simple export interface for making <code>TempDir</code> <code>ShareDir</code>&#39;s from a given path:</p>

<pre><code>    use Test::File::ShareDir::Dist { &quot;Dist-Name&quot; =&gt; &quot;share/&quot; };</code></pre>

<p>This will automatically create a <code>ShareDir</code> for <code>Dist-Name</code> in a <code>TempDir</code> based on the contents of <code>CWD/share/</code></p>

<p>See <a href="https://metacpan.org/pod/Test::File::ShareDir::Dist"><code>Test::File::ShareDir::Dist</code></a> for details.</p>

<h3 id="Test::File::ShareDir::Module"><a id="Test1"></a><code>Test::File::ShareDir::Module</code></h3>

<p><a href="https://metacpan.org/pod/Test::File::ShareDir::Module"><code>Test::File::ShareDir::Module</code></a> provides a simple export interface for making <code>TempDir</code> <code>ShareDir</code>&#39;s from a given path:</p>

<pre><code>    use Test::File::ShareDir::Module { &quot;Module::Name&quot; =&gt; &quot;share/&quot; };</code></pre>

<p>This will automatically create a <code>ShareDir</code> for <code>Module::Name</code> in a <code>TempDir</code> based on the contents of <code>CWD/share/</code></p>

<p>See <a href="https://metacpan.org/pod/Test::File::ShareDir::Module"><code>Test::File::ShareDir::Module</code></a> for details.</p>

<h2 id="Simple-Object-Oriented-Interfaces"><a id="Simple1"></a>Simple Object Oriented Interfaces</h2>

<h3 id="Test::File::ShareDir::Object::Dist"><a id="Test2"></a><code>Test::File::ShareDir::Object::Dist</code></h3>

<p><a href="https://metacpan.org/pod/Test::File::ShareDir::Object::Dist"><code>Test::File::ShareDir::Object::Dist</code></a> provides a simple object oriented interface for making <code>TempDir</code> <code>ShareDir</code>&#39;s from a given path:</p>

<pre><code>    use Test::File::ShareDir::Object::Dist;

    my $obj = Test::File::ShareDir::Object::Dist-&gt;new( dists =&gt; { &quot;Dist-Name&quot; =&gt; &quot;share/&quot; } );
    $obj-&gt;install_all_dists;
    $obj-&gt;register;</code></pre>

<p>This will automatically create a <code>ShareDir</code> for <code>Dist-Name</code> in a <code>TempDir</code> based on the contents of <code>CWD/share/</code></p>

<p>See <a href="https://metacpan.org/pod/Test::File::ShareDir::Object::Dist"><code>Test::File::ShareDir::Object::Dist</code></a> for details.</p>

<h3 id="Test::File::ShareDir::Object::Module"><a id="Test3"></a><code>Test::File::ShareDir::Object::Module</code></h3>

<p><a href="https://metacpan.org/pod/Test::File::ShareDir::Object::Module"><code>Test::File::ShareDir::Object::Module</code></a> provides a simple object oriented interface for making <code>TempDir</code> <code>ShareDir</code>&#39;s from a given path:</p>

<pre><code>    use Test::File::ShareDir::Object::Module;

    my $obj = Test::File::ShareDir::Object::Module-&gt;new( modules =&gt; { &quot;Module::Name&quot; =&gt; &quot;share/&quot; } );
    $obj-&gt;install_all_modules;
    $obj-&gt;register;</code></pre>

<p>This will automatically create a <code>ShareDir</code> for <code>Module::Name</code> in a <code>TempDir</code> based on the contents of <code>CWD/share/</code></p>

<p>See <a href="https://metacpan.org/pod/Test::File::ShareDir::Object::Module"><code>Test::File::ShareDir::Object::Module</code></a> for details.</p>

<h1 id="SCOPE-LIMITED-UTILITIES"><a id="SCOPE"></a>SCOPE LIMITED UTILITIES</h1>

<p><code>Test::File::ShareDir</code> provides a few utility functions to aide in temporarily adjusting <code>ShareDir</code> behavior.</p>

<pre><code>    use Test::File::ShareDir qw( with_dist_dir with_module_dir );

    with_dist_dir({ &#39;Dist-Name&#39; =&gt; &#39;Some/Path&#39; }, sub {
      # dist_dir() now behaves differently here
    });
    with_module_dir({ &#39;Module::Name&#39; =&gt; &#39;Some/Path&#39; }, sub {
      # module_dir() now behaves differently here
    });</code></pre>

<p>See <a href="./Test::File::ShareDir.html#EXPORTABLE-FUNCTIONS"><code>EXPORTABLE FUNCTIONS</code></a> for details.</p>

<h1 id="IMPORTING">IMPORTING</h1>

<p>Since <code>1.001000</code>, there are 2 ways of passing arguments to <code>import</code></p>

<pre><code>  use Foo { -root =&gt; ... options }, qw( functions to import );
  use Foo -optname =&gt; option, -optname =&gt; option, qw( functions to import );</code></pre>

<p>Both should work, but the former might be less prone to accidental issues.</p>

<h2 id="IMPORT-OPTIONS"><a id="IMPORT"></a>IMPORT OPTIONS</h2>

<h3 id="-root"><a id="root"></a>-root</h3>

<p>This parameter is the prefix the other paths are relative to.</p>

<p>If this parameter is not specified, it defaults to the Current Working Directory ( <code>CWD</code> ).</p>

<p>In versions prior to <code>0.3.0</code>, this value was mandatory.</p>

<p>The rationale behind using <code>CWD</code> as the default value is as follows.</p>

<ul>

<li><p>Most users of this module are likely to be using it to test distributions</p>

</li>
<li><p>Most users of this module will be using it in <code>$project/t/</code> to load files from <code>$project/share/</code></p>

</li>
<li><p>Most <code>CPAN</code> tools run tests with <code>CWD</code> = $project</p>

</li>
</ul>

<p>Therefor, defaulting to <code>CWD</code> is a reasonably sane default for most people, but where it is not it can still be overridden.</p>

<pre><code>  -root =&gt; &quot;$FindBin::Bin/../&quot; # resolves to project root from t/ regardless of Cwd.</code></pre>

<h3 id="-share"><a id="share"></a>-share</h3>

<p>This parameter is mandatory, and contains a <code>hashref</code> containing the data that explains what directories you want shared.</p>

<pre><code>  -share =&gt;  { ..... }</code></pre>

<h4 id="-module"><a id="module"></a>-module</h4>

<p><code>-module</code> contains a <code>hashref</code> mapping Module names to path names for module_dir style share dirs.</p>

<pre><code>  -share =&gt; {
    -module =&gt; { &#39;My::Module&#39; =&gt; &#39;share/mymodule/&#39;, }
  }

  ...

  module_dir(&#39;My::Module&#39;)</code></pre>

<p>Notedly, it is a <code>hashref</code>, which means there is a limitation of one share dir per module. This is simply because having more than one share dir per module makes no sense at all.</p>

<h4 id="-dist"><a id="dist"></a>-dist</h4>

<p><code>-dist</code> contains a <code>hashref</code> mapping Distribution names to path names for dist_dir style share dirs. The same limitation applied to <code>-module</code> applies here.</p>

<pre><code>  -share =&gt; {
    -dist =&gt; { &#39;My-Dist&#39; =&gt; &#39;share/mydist&#39; }
  }
  ...
  dist_dir(&#39;My-Dist&#39;)</code></pre>

<h1 id="EXPORTABLE-FUNCTIONS"><a id="EXPORTABLE"></a>EXPORTABLE FUNCTIONS</h1>

<h2 id="with_dist_dir">with_dist_dir</h2>

<p>Sets up a <code>ShareDir</code> environment with limited context.</p>

<pre><code>  # with_dist_dir(\%config, \&amp;sub);
  with_dist_dir( { &#39;Dist-Name&#39; =&gt; &#39;share/&#39; } =&gt; sub {

      # File::ShareDir resolves to a copy of share/ in this context.

  } );</code></pre>

<p><code>%config</code> can contain anything <a href="https://metacpan.org/pod/Test::File::ShareDir::Dist"><code>Test::File::ShareDir::Dist</code></a> accepts.</p>

<dl>

<dt id="-root:-Defaults-to-$CWD"><a id="root:-Defaults-to--CWD"></a><code>-root</code>: Defaults to <code>$CWD</code></dt>
<dd>

</dd>
<dt id="$distName:-Declare-$distName&#39;s-ShareDir."><a id="distName:-Declare--distName-s-ShareDir"></a><code><i>$distName</i></code>: Declare <code>$distName</code>&#39;s <code>ShareDir</code>.</dt>
<dd>

</dd>
</dl>

<p><i>Since 1.001000</i></p>

<h2 id="with_module_dir">with_module_dir</h2>

<p>Sets up a <code>ShareDir</code> environment with limited context.</p>

<pre><code>  # with_module_dir(\%config, \&amp;sub);
  with_module_dir( { &#39;Module::Name&#39; =&gt; &#39;share/&#39; } =&gt; sub {

      # File::ShareDir resolves to a copy of share/ in this context.

  } );</code></pre>

<p><code>%config</code> can contain anything <a href="https://metacpan.org/pod/Test::File::ShareDir::Module"><code>Test::File::ShareDir::Module</code></a> accepts.</p>

<dl>

<dt id="-root:-Defaults-to-$CWD1"><a id="root:-Defaults-to--CWD1"></a><code>-root</code>: Defaults to <code>$CWD</code></dt>
<dd>

</dd>
<dt id="$moduleName:-Declare-$moduleName&#39;s-ShareDir."><a id="moduleName:-Declare--moduleName-s-ShareDir"></a><code><i>$moduleName</i></code>: Declare <code>$moduleName</code>&#39;s <code>ShareDir</code>.</dt>
<dd>

</dd>
</dl>

<p><i>Since 1.001000</i></p>

<h1 id="THANKS">THANKS</h1>

<p>Thanks to the <code>#distzilla</code> crew for ideas,suggestions, code review and debugging, even though not all of it made it into releases.</p>

<ul>

<li><p><a>DOLMEN</a></p>

</li>
<li><p><a>ETHER</a></p>

</li>
<li><p><a>HAARG</a></p>

</li>
<li><p><a>RJBS</a></p>

</li>
</ul>

<h1 id="AUTHOR">AUTHOR</h1>

<p>Kent Fredric &lt;kentnl@cpan.org&gt;</p>

<h1 id="COPYRIGHT-AND-LICENSE"><a id="COPYRIGHT"></a>COPYRIGHT AND LICENSE</h1>

<p>This software is copyright (c) 2017 by Kent Fredric &lt;kentnl@cpan.org&gt;.</p>

<p>This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.</p></div>

<div id="metacpan_install-instructions-dialog" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">Module Install Instructions</h4>
      </div>
      <div class="modal-body">
        <p>To install Test::File::ShareDir, copy and paste the appropriate command in to your terminal.</p>
        <p><a href="https://metacpan.org/dist/App-cpanminus/view/bin/cpanm">cpanm</a></p>
        <pre><code>cpanm Test::File::ShareDir</code></pre>
        <p><a href="https://metacpan.org/pod/CPAN">CPAN shell</a></p>
        <pre><code>perl -MCPAN -e shell
install Test::File::ShareDir</code></pre>
        <p>For more information on module installation, please visit <a href="https://www.cpan.org/modules/INSTALL.html">the detailed CPAN module installation guide</a>.</p>
      </div>
      <div class="modal-footer">
        <a href="./Test::File::ShareDir.html#" data-dismiss="modal" class="btn">Close</a>
      </div>
    </div>
  </div>
</div>
          </main>
          <div class="content-pagination">
          </div>
        </div>
        <footer class="footer">
          <div class="footer-container">
            <div class="footer-social">
              <div class="footer-link footer-logo">
                <a href="https://metacpan.org/">
                  <img src="https://metacpan.org/static/images/metacpan-logo.svg" alt="MetaCPAN" />
                </a>
              </div>
              <a class="footer-social-link" href="https://github.com/metacpan">
                <i class="fab fa-github-square"></i>
              </a>
              <a class="footer-social-link" href="https://fosstodon.org/@metacpan">
                <i class="fab fa-mastodon"></i>
              </a>
            </div>
            <div class="footer-links">
              <div class="footer-link">
                  <a href="https://metacpan.org/about">About</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/sponsors">Sponsor</a>
              </div>
              <div class="footer-link">
                  <a href="https://grep.metacpan.org">grep::cpan</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/recent">Recent</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/faq">FAQ</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/tools">Tools</a>
              </div>
              <div class="footer-link">
                  <a href="https://fastapi.metacpan.org/">API</a>
              </div>
              <div class="footer-link">
                  <a href="https://www.perl.org/">Perl.org</a>
              </div>
            </div>
            <div class="footer-sponsors">
              <a class="footer-sponsor-link" target="_blank" href="https://www.bytemark.co.uk/" rel="noopener">
                <img class="footer-sponsor-bytemark" src="https://metacpan.org/static/images/sponsors/bytemark_logo.svg" alt="Bytemark logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.liquidweb.com/" rel="noopener">
                <img class="footer-sponsor-liquidweb" src="https://metacpan.org/static/images/sponsors/liquidweb_logo.png" alt="liquidweb logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://deriv.com/careers/" rel="noopener">
                <img class="footer-sponsor-deriv" src="https://metacpan.org/static/images/sponsors/deriv.svg" alt="Deriv logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://geocode.xyz" rel="noopener">
                <img class="footer-sponsor-geocode" src="https://metacpan.org/static/images/sponsors/geocodelogo.svg" alt="Geocode logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.fastly.com/" rel="noopener">
                <img class="footer-sponsor-fastly" src="https://metacpan.org/static/images/sponsors/fastly_logo.svg" alt="Fastly logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://opencagedata.com" rel="noopener">
                <img class="footer-sponsor-opencage" src="https://metacpan.org/static/images/sponsors/open-cage.svg" alt="OpenCage logo">
              </a>
            </div>
          </div>
        </footer>
        <div class="modal fade" tabindex="-1" role="dialog" id="metacpan_keyboard-shortcuts">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Keyboard Shortcuts</h4>
              </div>
              <div class="modal-body row">
<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Global</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>s</kbd>
        </td>
        <td>Focus search bar</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>?</kbd>
        </td>
        <td>Bring up this help dialog</td>
      </tr>
    </tbody>
  </table>

  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>GitHub</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>p</kbd>
        </td>
        <td>Go to pull requests</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>go to github issues (only if github is preferred repository)</td>
      </tr>
    </tbody>
  </table>
</div>

<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>POD</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>a</kbd>
        </td>
        <td>Go to author</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>c</kbd>
        </td>
        <td>Go to changes</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>Go to issues</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>d</kbd>
        </td>
        <td>Go to dist</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>r</kbd>
        </td>
        <td>Go to repository/SCM</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>s</kbd>
        </td>
        <td>Go to source</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>b</kbd>
        </td>
        <td>Go to file browse</td>
      </tr>

    </tbody>
  </table>
</div>

<div class="col-md-12">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Search terms</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><em>module:</em> (e.g. <a href="https://metacpan.org/search?q=module%3APlugin">module:Plugin</a>)</td>
      </tr>
      <tr>
        <td><em>distribution:</em> (e.g. <a href="https://metacpan.org/search?q=distribution%3ADancer+auth">distribution:Dancer auth</a>)</td>
      </tr>
      <tr>
        <td><em>author:</em> (e.g. <a href="https://metacpan.org/search?q=author%3ASONGMU+Redis">author:SONGMU Redis</a>)</td>
      </tr>
      <tr>
        <td><em>version:</em> (e.g. <a href="https://metacpan.org/search?q=version%3A1.00">version:1.00</a>)</td>
      </tr>
    </tbody>
  </table>
</div>
              </div>
              <div class="modal-footer"></div>
            </div>
          </div>
        </div>
    </body>
</html>
